<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
    <title></title>
    <link rel="stylesheet" href="../../css/base.css">
    <link rel="stylesheet" href="../../css/public.css">
    <link rel="stylesheet" href="../../css/shop.css">
    <link rel="stylesheet" href="../../css/fenxiao_detail.css">
</head>
<body>
<div class="header">
    <i onclick="window.history.back()"></i>
    <div class="header-title" style="width:80%;">
        <h1 style="width: 100%; text-align: center">商圈收益</h1>
    </div>
    <p class="set"><a href="sq_cash_withdrawal.html">提现</a></p>
</div>
<div class="main" style="margin-top: 0">
    <div class="h_info"></div>
    <!--<h4>历史记录</h4>-->
    <div class="list">
        <ul>

        </ul>
    </div>
    <!--<div class="footer">下拉显示更多</div>-->
</div>
<footer id="footer" ></footer>
<script type="text/html" id="info_tpl">
    <div class="top_bot">
        <ul>
            <li>
                <p>累计佣金</p>
                <p class="red"><%=sq['total']%>元</p>
            </li>
            <li>
                <p>可提现总佣金</p>
                <p class="red"><%=sq['av_borkerage']%>元</p>
            </li>
        </ul>
    </div>
</script>
<script type="text/html" id="log-list-tmpl">
    <% var log_list = datas.log_list; %>
    <% if (log_list.length > 0){%>
    <% for(var i = 0;i<log_list.length;i++){
    var log = log_list[i]['data'];
    var time = log_list[i]['time'];
    %>
    <% if (log.length > 0) {%>
    <h5><%=time%></h5>
    <% for(var j = 0;j<log.length;j++){%>
    <div class="list_detail">
        <p class="p1">订单号：<%=log[j]['order_sn']%></p>
        <p class="p2">变更说明: <span><%=log[j]['description']%></span> <strong>+<%=log[j]['money']%></strong></p>
        <p class="p3">创建时间: <span><%= formattime(log[j]['addtime'])%></span></p>
    </div>
    <%}%>
    <%}else {%>
    <h5><%=time%></h5>
    <div class="list_detail">
        <p class="p1" style="text-align: center">暂无数据</p>
    </div>
    <%}%>
    <%}%>
    <% if (hasmore) {%>
    <li class="loading"><div class="spinner"><i></i></div>明细数据读取中...</li>
    <% } %>
    <%}else {%>
    <div class="nctouch-norecord order">
        <div class="norecord-ico"><i></i></div>
        <dl>
            <dt>您还没有相关的明细</dt>
            <dd>可以去看看哪些想要买的</dd>
        </dl>
        <a href="<%=WapSiteUrl%>" class="btn">随便逛逛</a>
    </div>
    <%}%>
</script>
<script type="text/javascript" src="../../js/config.js"></script>
<script type="text/javascript" src="../../js/zepto.min.js"></script>
<script type="text/javascript" src="../../js/common.js"></script>
<script type="text/javascript" src="../../js/template.js"></script>
<script type="text/javascript" src="../../js/simple-plugin.js"></script>
<script type="text/javascript" src="../../js/tmpl/footer.js"></script>
<script type="text/javascript" src="../../js/tmpl/bs_brokerage.js"></script>
</body>
</html>